﻿using Rex.Assignment.Common;
using Rex.Assignment.Domain.Models.Entitys;

namespace Rex.Assignment.Domain.DomainService
{
    /// <summary>
    /// 登录领域服务
    /// </summary>
    /// <remarks>
    /// @创 建 者：Rex
    /// @创建日期：2021/2/21 14:42:36
    /// </remarks>
    public interface ILoginDomainService
    {
        /// <summary>
        /// 验证登录
        /// </summary>
        /// <param name="loginId">登录账号</param>
        /// <param name="loginPwd">登录密码</param>
        /// <returns></returns>
        DataResult<SysUser> VerificationLogin(string loginId, string loginPwd);
    }
}
